#!/usr/bin/env python

import sys
import fileinput

x = 0
for line in fileinput.input():
  if line.startswith(' '): continue # first line
  if line.startswith('*'):
    x = line.split()[1][1:]
  else:
    data = [val.strip() for val in line.split(',')]
    resptime = data[4]
    transrate = data[5]
    print "\t".join([x,resptime,transrate])

    
  
